import { Module } from '@nestjs/common';
import { AdminService } from './admin.service';
import { AdminController } from './admin.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Admin } from './entities/admin.entity';
import { AdminInitializeService } from './admin-initialize.service';
import { AuthModule } from '../auth/auth.module';
import { RoleService } from '../role/role.service';
import { RedisModule } from '../../../module/shared/redis/redis.module';

@Module({
  imports: [TypeOrmModule.forFeature([Admin]), AuthModule, RedisModule],
  controllers: [AdminController],
  providers: [AdminService, AdminInitializeService, RoleService],
})
export class AdminModule {}
